package com.lwei.tallybook.service.service;

import com.lwei.tallybook.base.domain.Dictionary;

import java.util.List;

/**
 * @author sks.lwei
 */
public interface DictionaryService {

    /**
     *
     * @param type type
     * @return List
     */
    List<Dictionary> listDictionaryByType(String type);

    Dictionary getDictionaryByKey(String key);
}
